<?php 
    echo form_open(base_url()."index.php/service/result"); 
?>
    <h1 class="blue">Tire and Rim</h1>
    <p>Brand name</p>
    <p>
        <select class="form" name="brand">
            <option value="">Please select</option>
<?php 
        foreach($make->result() as $row)
        { 
?>
            <option>
<?php 
                echo $row->name;
?>
            </option>
<?php
        }
?>      
        </select>
    </p>
    <p>Location</p>
    <p>
        <select class="form" name="location">
            <option value="">Please select</option>
<?php 
        foreach($location->result() as $row)
        { 
?>
            <option>
<?php 
                echo $row->province;
?>
            </option>
<?php
        }
?>      
        </select>
    </p>
    <input type="submit" value="Search" name="submit" class="link" style="font-weight:bold;" />
<?php  
    echo form_close();
?>